<?php
Import_Class('json');

if($html->countUrl==1)
{
    $categories     = ListCategoryByParentId($html->getId());
    $ArrIntro       = $html->getContent('cIntro',true);
}else if($html->countUrl==2)
{
    $contents       = ListContentByParentId($html->getId());
    $ArrIntro       = $html->getContent('cIntro',true);
}
else{
    $contents       = ListOtherProduct($html->getContent('iParentId'),$html->getId(),4);
    $photos         = ListPhotoByType('product',$html->getId());
    
}

?>